@model Promike.site.Models.Photo

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Photo</legend>

    <div class="display-label">FileName</div>
    <div class="display-field">@Model.FileName</div>

    <div class="display-label">PhysicalName</div>
    <div class="display-field">@Model.PhysicalName</div>

    <div class="display-label">Extention</div>
    <div class="display-field">@Model.Extention</div>

    <div class="display-label">ExifId</div>
    <div class="display-field">@Model.ExifId</div>

    <div class="display-label">Author</div>
    <div class="display-field">@Model.Author</div>

    <div class="display-label">DatePublish</div>
    <div class="display-field">@String.Format("{0:g}", Model.DatePublish)</div>

    <div class="display-label">Clicks</div>
    <div class="display-field">@Model.Clicks</div>

    <div class="display-label">Category</div>
    <div class="display-field">@Model.Category</div>

    <div class="display-label">Aperture</div>
    <div class="display-field">@Model.Aperture</div>

    <div class="display-label">ExposureTime</div>
    <div class="display-field">@Model.ExposureTime</div>

    <div class="display-label">Manufacter</div>
    <div class="display-field">@Model.Manufacter</div>

    <div class="display-label">Make</div>
    <div class="display-field">@Model.Make</div>

    <div class="display-label">Iso</div>
    <div class="display-field">@Model.Iso</div>

    <div class="display-label">Flash</div>
    <div class="display-field">@Model.Flash</div>

    <div class="display-label">Focal</div>
    <div class="display-field">@Model.Focal</div>

    <div class="display-label">Mode</div>
    <div class="display-field">@Model.Mode</div>

    <div class="display-label">Orientation</div>
    <div class="display-field">@Model.Orientation</div>

    <div class="display-label">Balance</div>
    <div class="display-field">@Model.Balance</div>

    <div class="display-label">OwnerPhoto</div>
    <div class="display-field">@Model.OwnerPhoto</div>

    <div class="display-label">Visible</div>
    <div class="display-field">@Model.Visible</div>

    <div class="display-label">Cycle</div>
    <div class="display-field">@Model.Cycle</div>

    <div class="display-label">Album</div>
    <div class="display-field">@Model.Album</div>

    <div class="display-label">PhotoCategory</div>
    <div class="display-field">@(Model.PhotoCategory == null ? "None" : Model.PhotoCategory.Name)</div>

    <div class="display-label">PhotoAlbum</div>
    <div class="display-field">@(Model.PhotoAlbum == null ? "None" : Model.PhotoAlbum.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>


